package com.shop.item.atom.dao;

import com.shop.common.entity.item.Category;

import java.util.List;

public interface CategoryMapper {
    /**
     *
     * @mbggenerated 2019-02-28
     */
    int deleteByPrimaryKey(Integer ctgId);

    /**
     *
     * @mbggenerated 2019-02-28
     */
    int insert(Category record);

    /**
     *
     * @mbggenerated 2019-02-28
     */
    int insertSelective(Category record);

    /**
     *
     * @mbggenerated 2019-02-28
     */
    Category selectByPrimaryKey(Integer ctgId);

    /**
     *
     * @mbggenerated 2019-02-28
     */
    int updateByPrimaryKeySelective(Category record);

    /**
     *
     * @mbggenerated 2019-02-28
     */
    int updateByPrimaryKey(Category record);

    List<Category> getCategoryList();
}